#
# spectClean/src/core/CMakeLists.txt
#

include_directories(${CMAKE_CURRENT_SOURCE_DIR})

set(core_SRC
    src/TimeSeries.cpp
)

# === Build the core library.
add_library(core SHARED ${core_SRC})
set_target_properties(core PROPERTIES
    COMPILE_FLAGS ${OpenMP_CXX_FLAGS}
    LINK_FLAGS ${OpenMP_CXX_FLAGS}
)
target_link_libraries(core ${QT_QTCORE_LIBRARY})

# Recurse into test subdirectory.
add_subdirectory(test)
